<div class="modal fade" id="article-add" data-keyboard="false" data-backdrop="static" tabindex="-1">
    <div class="modal-dialog article-modal">
        <div class="modal-content">
            <div class="modal-header">
                <h3 class="modal-title pull-left" id="article-add-modal-title">新增文章</h3>
            </div>
            <div class="modal-body">
                <form id="article-add-form" class="row">
                <div class="col-md-9">
                   <div class="form-group">
                    <label for="title">标题</label>
                    <input type="text" class="form-control" id="title" name="title" value="" placeholder="请输入标题" />
                    <input type="hidden" name="id"  class="form-control">
                  </div>
                  <div class="form-group">
                    <label for="keywords">关键词</label>
                    <input type="text" class="form-control" id="keywords" name="keywords" value="" placeholder="关键词" />
                  </div>
                  <div class="form-group">
                    <label for="description">描述</label>
                    <textarea class="form-control" id="description" name="description" rows="5"  placeholder="描述"></textarea>
                  </div>    
                  <div class="form-group">
                    <label for="summary">摘要</label>
                    <textarea class="form-control" id="summary" name="summary" rows="5"  placeholder="描述"></textarea>
                  </div>                                 
                  <div class="form-group">
                      <textarea class="form-control" id="articleEditor" name="content"></textarea>
                  </div> 
                  <div class="form-group">
                    <label for="template">模板</label>
                    <input type="text" class="form-control" id="template" name="template" value="" placeholder="模板" />
                  </div>                 
                </div>
                <div class="col-md-3">
                  <div class="form-group">
                    <label for="sort">slug</label>
                    <input type="text" class="form-control" id="slug" name="slug" />
                  </div>                  
                  <div class="form-group">
                    <label for="categoryIds">分类</label>
                    <div id="categoryTree"></div>
                    <input type="hidden" name="categoryIds">
                  </div>    
                  <div class="form-group  control-group"><label>缩略图：</label>
				    <div class="controls upload-bg">
				        <input class="upload" id="file" type="file" name="file">
				        <img src="" style="display:none;width:100%;height:100%"  id="target" alt="[Jcrop Example]"/>
				        <input type="hidden" value="" id="url" name="thumbnail" class="filevalue">
				    </div>
				    <p class="reupload">重新上传
				        <input class="imgEditor" id="uploadNext" type="file" name="file" value=""/>
				　　</p>
				  </div>                                                           
                  <div class="form-group">
                    <label for="tags">标签</label>
                    <input class="form-control" type="text" id="tags" name="tags"  />
                     <small class="help-block">标签用英文逗号分隔(如:汽车,电器,美食)</small>
                  </div>
                  <div class="form-group">
                    <label for="sort">排序</label>
                    <input type="text" class="form-control" id="seqNum" name="seqNum" placeholder="0"/>
                  </div>                   
                 <div class="form-group">
                    <label for="status">状态</label>
                    <div class="clearfix">
                      <label class="lyear-radio radio-inline radio-primary">
                        <input type="radio" name="status" value="0"><span>锁定</span>
                      </label>
                      <label class="lyear-radio radio-inline radio-primary">
                        <input type="radio" name="status" value="1" checked><span>有效</span>
                      </label>
                    </div>
                  </div>                
                </div>                  
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary btn-save" id="article-add-button" name="save">保存</button>
                <button type="button" class="btn btn-default btn-close">关闭</button>
                <button class="btn-hide"></button>
            </div>
        </div>
    </div>
</div>
<script data-th-src="@{/js/app/admin/cms/article/articleAdd.js}"></script>